-- GENERATED SPELL FOR [Spiked Stegodon] --


function spell0_6503(pUnit, Event) --@Head Smash,n/a--
pUnit:FullCastSpellOnTarget(14102,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6503', 2325, 1)
end

function Sorts_6503(pUnit, Event)
local choix_sorts_6503 = math.random(0, 0)
if choix_sorts_6503 == 0 then
pUnit:RegisterEvent('spell0_6503', 1, 1)
end
end

function mob6503_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6503', math.random(1500, 3000), 1)
end

function mob6503_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6503_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6503_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6503, 1, 'mob6503_Action')
RegisterUnitEvent(6503, 2, 'mob6503_Leave')
RegisterUnitEvent(6503, 3, 'mob6503_Kill')
RegisterUnitEvent(6503, 4, 'mob6503_Die')
